package com.hx;

import com.hx.ui.MainWidget;
import android.app.Activity;
import android.os.Bundle;
import android.widget.Button;
import android.widget.ImageView;

public class Painter extends Activity {
	MainWidget mainWgt;
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main);
		
		Button rectBtn = (Button)this.findViewById(R.id.rectBtn);
		Button ovalBtn = (Button)this.findViewById(R.id.ovalBtn);
		Button lineBtn = (Button)this.findViewById(R.id.lineBtn);
		ImageView canvas = (ImageView)this.findViewById(R.id.image);
		mainWgt = new MainWidget(this,ovalBtn,rectBtn,lineBtn,canvas);
	}
}